package com.ruoyi.rsikManage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警信息对象 t_alarms
 * 
 * @author ruoyi
 * @date 2023-08-08
 */
public class TAlarms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long idId;

    /** 报警级别 */
    @Excel(name = "报警级别")
    private String alarmLevel;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date alarmTime;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 报警类型名称 */
    @Excel(name = "报警类型名称")
    private String alarmTypeName;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** ID */
    private Long id;

    /** 组织索引 */
    @Excel(name = "组织索引")
    private String orgIndex;

    /** 组织名称 */
    @Excel(name = "组织名称")
    private String orgName;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String pictureUrl;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 事件ID */
    @Excel(name = "事件ID")
    private String eventId;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private String approve;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String opinion;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handleTime;

    /** 视频时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "视频时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date videoTime;

    /** */

    @Excel(name = "报备状态")
    private String filter;

    public String getFilter() {
        return filter;
    }

    public void setFilter(String filter) {
        this.filter = filter;
    }

    public void setIdId(Long idId)
    {
        this.idId = idId;
    }

    public Long getIdId() 
    {
        return idId;
    }
    public void setAlarmLevel(String alarmLevel) 
    {
        this.alarmLevel = alarmLevel;
    }

    public String getAlarmLevel() 
    {
        return alarmLevel;
    }
    public void setAlarmTime(Date alarmTime) 
    {
        this.alarmTime = alarmTime;
    }

    public Date getAlarmTime() 
    {
        return alarmTime;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmTypeName(String alarmTypeName) 
    {
        this.alarmTypeName = alarmTypeName;
    }

    public String getAlarmTypeName() 
    {
        return alarmTypeName;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrgIndex(String orgIndex) 
    {
        this.orgIndex = orgIndex;
    }

    public String getOrgIndex() 
    {
        return orgIndex;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setPictureUrl(String pictureUrl) 
    {
        this.pictureUrl = pictureUrl;
    }

    public String getPictureUrl() 
    {
        return pictureUrl;
    }
    public void setEventType(String eventType) 
    {
        this.eventType = eventType;
    }

    public String getEventType() 
    {
        return eventType;
    }
    public void setEventId(String eventId) 
    {
        this.eventId = eventId;
    }

    public String getEventId() 
    {
        return eventId;
    }
    public void setApprove(String approve) 
    {
        this.approve = approve;
    }

    public String getApprove() 
    {
        return approve;
    }
    public void setOpinion(String opinion) 
    {
        this.opinion = opinion;
    }

    public String getOpinion() 
    {
        return opinion;
    }
    public void setHandleTime(Date handleTime) 
    {
        this.handleTime = handleTime;
    }

    public Date getHandleTime() 
    {
        return handleTime;
    }
    public void setVideoTime(Date videoTime) 
    {
        this.videoTime = videoTime;
    }

    public Date getVideoTime() 
    {
        return videoTime;
    }

    @Override
    public String toString() {
        return "TAlarms{" +
                "idId=" + idId +
                ", alarmLevel='" + alarmLevel + '\'' +
                ", alarmTime=" + alarmTime +
                ", alarmType='" + alarmType + '\'' +
                ", alarmTypeName='" + alarmTypeName + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", id=" + id +
                ", orgIndex='" + orgIndex + '\'' +
                ", orgName='" + orgName + '\'' +
                ", pictureUrl='" + pictureUrl + '\'' +
                ", eventType='" + eventType + '\'' +
                ", eventId='" + eventId + '\'' +
                ", approve='" + approve + '\'' +
                ", opinion='" + opinion + '\'' +
                ", handleTime=" + handleTime +
                ", videoTime=" + videoTime +
                ", filter='" + filter + '\'' +
                '}';
    }
}
